home *** CD-ROM | disk | FTP | other *** search
/ Clickx 31 / Clickx 31.iso / assets / software / MyServer-win32-0.8.2.exe / web / documentation / texts / php.htm < prev    next >
Encoding:
Extensible Markup Language  |  2005-06-22  |  1.8 KB  |  46 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3.   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  5. <head>
  6. <title>MyServer Documentation - PHP - www.myserverproject.net</title>
  7. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  8. <meta http-equiv="Content-Style-Type" content="text/css" />
  9. <link rel="stylesheet" type="text/css" href="../style/myserver.css" />
  10. </head>
  11. <body>
  12. <table class="center" width="95%">
  13. <tr>
  14. <td class="center">
  15. <h1 class="title">HOW TO USE PHP UNDER MYSERVER</h1>
  16. <br />
  17. PHP (Hypertext Preprocessor) is the most used server-side scripting
  18. language in the world. A server-side language is used to create web pages with
  19. dynamic content. You can use PHP with MyServer as either a standard CGI
  20. executable or as a FastCGI server. While using PHP like a CGI
  21. executable, MyServer will create a new process for every page
  22. requested.  While using PHP in the FastCGI mode, MyServer does not
  23. require a new process for every request and, therefore, the server
  24. performs better. Please refer to the official <a
  25.  href="http://www.fastcgi.com/" target="_blank">FastCGI </a>site for
  26. more information about FastCGI.<br />
  27. <br />
  28. In order to use PHP, you must first download the installer from: <span class="code">
  29. <a href="http://www.php.net" target="_blank">www.php.net</a></span>.
  30. <p>With the last versions of PHP you will also need to modify
  31. the <span class="code">php.ini</span> file to set the
  32. cgi.force_redirect option to null. Find the line in the php
  33. configuration file:</p>
  34. <span  class="code">;cgi.force_redirect= 0</span>
  35. <p>and remove the first semicolon. <br />
  36. The line will then read:<br />
  37. </p>
  38. <span class="code">cgi.force_redirect = 0</span><br /><br />
  39.  
  40.  
  41. </td>
  42. </tr>
  43. </table>
  44. </body>
  45. </html>
  46.